package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分销积分设定对象 re_bonus
 * 
 * @author ruoyi
 * @date 2023-12-22
 */
public class ReBonus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;



    /** 父级分销的奖励积分 */
    @Excel(name = "二级分销奖励积分")
    private Long fbonus;

    /** 积分 */
    @Excel(name = "yi级分销奖励积分")
    private Long gbonus;
    /** 账户性质  0：基本户 1：一般户 */
    private String accountType;







    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }




    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Long getFbonus() {
        return fbonus;
    }

    public void setFbonus(Long fbonus) {
        this.fbonus = fbonus;
    }

    public Long getGbonus() {
        return gbonus;
    }

    public void setGbonus(Long gbonus) {
        this.gbonus = gbonus;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fbonus", getFbonus())
                .append("gbonus", getGbonus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
                .append("accountType", getAccountType())
            .toString();
    }
}
